PATH  Mac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services

   

SetIconFamily

Provides new data for a specified icon family.

pascal OSErr SetIconFamilyData(
                     IconFamilyHandleiconFamily,
                     OSTypeiconType,
                     Handleh)

iconFamily
A handle to an iconFamily data structure to be used as the target.

iconType
A value of type OSType specifying the format of the icon data you provide.You may specify one of the icon types (such as 'icns' ) or 'PICT' in this parameter.

h
A handle to the icon data you provide.

function result
A result code. See Icon Services Result Codes for a description of possible return values.

© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)